#if !defined(AFX_PATIENTSELECTDLG_H__168BB102_1629_445F_9C3E_2565BE9BD7DB__INCLUDED_)
#define AFX_PATIENTSELECTDLG_H__168BB102_1629_445F_9C3E_2565BE9BD7DB__INCLUDED_


#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PatientSelectDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPatientSelectDlg dialog

class CGYDataSet;

class CPatientSelectDlg : public CDialog
{
// Construction
public:
	CPatientSelectDlg(CWnd* pParent = NULL);   // standard constructor
	CPatientSelectDlg(CGYDataSet* pDataSet,  CWnd* pParent = NULL);
	
	int			GetSelectIndex(){return m_nSelIndex;}

	virtual void OnOK();

// Dialog Data
	//{{AFX_DATA(CPatientSelectDlg)
	enum { IDD = IDD_PAT_PATIENT_SELECT };
	CListCtrl	m_listPatSel;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPatientSelectDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPatientSelectDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelectOK();
	afx_msg void OnSelectCancel();
	afx_msg void OnCustomDrawSel(NMHDR *pNMHDR, LRESULT *pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	int					m_nSelIndex;
	CGYDataSet*			m_pPatientDataSet;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PATIENTSELECTDLG_H__168BB102_1629_445F_9C3E_2565BE9BD7DB__INCLUDED_)
